#ifndef MESSAGE_H_
#define MESSAGE_H_

#include <string>
#include <ostream>


using namespace std;


enum MessageType { ROUTING_MSG, SYSTEM_MSG };


class Message
{
public:
	int source;
	int target;

	Message(int source, int target);
	virtual ~Message();

	//virtual string toString();
	virtual MessageType msgType()=0;
};

int getMsgCount();

ostream& operator<< ( std::ostream& output, const Message& t);

#endif /*MESSAGE_H_*/
